﻿using System;

namespace Model
{
    public class YX_BankBillsLedger
    {
        /// <summary>
        /// 银行票据台账ID
        /// </summary>
        public decimal N_BBLEDGER_ID { get; set; }

        /// <summary>
        /// 票据种类（名称）
        /// </summary>
        public string C_BBLEDGER_TYPE { get; set; }

        /// <summary>
        /// 出票人公司ID
        /// </summary>
        public decimal N_BBLEDGER_DRAWERCMYID { get; set; }

        /// <summary>
        /// 出票人开户银行
        /// </summary>
        public decimal N_BBLEDGER_DRAWERBANKID { get; set; }

        /// <summary>
        /// 出票人支付账号
        /// </summary>
        public string C_BBLEDGER_DRAWERACCOUNT { get; set; }

        /// <summary>
        /// 出票人ID
        /// </summary>
        public decimal N_BBLEDGER_DRAWERUSERID { get; set; }

        /// <summary>
        /// 付款人（银行或公司工作人员）
        /// </summary>
        public string C_BBLEDGER_DRAWEENAME { get; set; }

        /// <summary>
        /// 收款人公司
        /// </summary>
        public string C_BBLEDGER_PAYEECMYNAME { get; set; }

        /// <summary>
        /// 收款人银行
        /// </summary>
        public string C_BBLEDGER_PAYEEBANKNAME { get; set; }

        /// <summary>
        /// 收款人账户
        /// </summary>
        public string C_BBLEDGER_PAYEEACCOUNT { get; set; }

        /// <summary>
        /// 收款人
        /// </summary>
        public string C_BBLEDGER_PAYEENAME { get; set; }

        /// <summary>
        /// 收款人联系电话
        /// </summary>
        public string C_BBLEDGER_PAYEENUMBER { get; set; }

        /// <summary>
        /// 交易金额
        /// </summary>
        public decimal N_BBLEDGER_INVOICEVALUE { get; set; }

        /// <summary>
        /// 出票日期
        /// </summary>
        public DateTime D_BBLEDGER_STARTDATE { get; set; }

        /// <summary>
        /// 票据到期日
        /// </summary>
        public DateTime D_BBLEDGER_ENDDATE { get; set; }

        /// <summary>
        /// 票据期限（月）
        /// </summary>
        public decimal N_BBLEDGER_TERMOFBILL { get; set; }

        /// <summary>
        /// 承兑时间
        /// </summary>
        public DateTime D_BBLEDGER_ACCEPTANCETIME { get; set; }

        /// <summary>
        /// 收票时间
        /// </summary>
        public DateTime D_BBLEDGER_COLLECTTICKETSTIME { get; set; }

        /// <summary>
        /// 票据号码
        /// </summary>
        public string C_BBLEDGER_BILLCODE { get; set; }

        /// <summary>
        /// 份数
        /// </summary>
        public decimal N_BBLEDGER_BILLNUMBER { get; set; }

        /// <summary>
        /// 项目名称（用途）
        /// </summary>
        public string C_BBLEDGER_PROJECTNAME { get; set; }

        /// <summary>
        /// 交易合同号（用途）
        /// </summary>
        public decimal C_BBLEDGER_PROJECTCODE { get; set; }

        /// <summary>
        /// 能否背书转让（0表示不能，1表示能）
        /// </summary>
        public string N_BBLEDGER_IFOFFER { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string C_BBLEDGER_REMARK { get; set; }
    }
}